@ECHO OFF
ECHO.Usage: DevInstall.cmd [/u]
ECHO.This script requires Administrative privileges to run properly.
ECHO.Start > All Programs > Accessories> Right-Click Command Prompt > Select 'Run As Administrator'
ECHO.You must install the MSI once, so that the GAC-folders are created.

if "%1"=="/u" GOTO uninstall

:install

set BuildType=Debug

REM Change to directory where this file is located
cd /d %0\..

REM Copy the assemblies to the GAC
copy /Y .\bin\%BuildType%\TV4Home.Client.WMC.TVClient.UI.dll %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI\1.0.0.0__06d07573d4cc533c

copy /Y .\bin\%BuildType%\de\TV4Home.Client.WMC.TVClient.UI.resources.dll %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI.resources\1.0.0.0_de_06d07573d4cc533c

copy /Y .\bin\%BuildType%\it\TV4Home.Client.WMC.TVClient.UI.resources.dll %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI.resources\1.0.0.0_it_06d07573d4cc533c

GOTO exit

:uninstall

del %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI\1.0.0.0__06d07573d4cc533c\TV4Home.Client.WMC.TVClient.UI.dll

del %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI.resources\1.0.0.0_de_06d07573d4cc533c\TV4Home.Client.WMC.TVClient.UI.resources.dll

del  %windir%\assembly\GAC_MSIL\TV4Home.Client.WMC.TVClient.UI.resources\1.0.0.0_it_06d07573d4cc533c\TV4Home.Client.WMC.TVClient.UI.resources.dll

:exit